package com.yanqu.road.logic.activity.hotpotjump.game.choose;

import com.yanqu.road.logic.activity.hotpotjump.game.JumpBoardGrid;
import com.yanqu.road.logic.activity.hotpotjump.game.eJumpDirection;

import java.util.ArrayList;
import java.util.List;

/**
 * 10 当前跳跃攻击的怪物所在点
 */
public class HotpotJumpSkillChoose10 extends HotpotJumpSkillChoose {
    @Override
    public List<List<JumpBoardGrid>> chooseGrid() {
        List<List<JumpBoardGrid>> result = new ArrayList<>();

        JumpBoardGrid grid = gameLogic.getPathUnitGrids().get(gameLogic.getPathUnitGrids().size() - 1);
        List<JumpBoardGrid> grids = gameLogic.calcRangeGrids(grid, skillRange, eJumpDirection.None);
        result.add(grids);

        return result;
    }
}
